const getters = {

  // state 根模块的state 存储着子模块state的数据
  // 通过getters 建立对子模块state数据的快捷访问
  sidebar: state => state.app.sidebar,
  device: state => state.app.device,
  token: state => state.user.token,
  avatar: state => state.user.avatar,
  name: state => state.user.name
}
export default getters
